package com.pkk.cloud.support.common.admin.dto.resp.resource;

import java.io.Serializable;
import java.util.List;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @description: 系统资源响应类
 * @author: peikunkun
 * @create: 2020-03-16 17:28
 **/
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class SysResourceMenuRespDto implements Serializable {

  private static final long serialVersionUID = 7616066157268713562L;


  /**
   * 主键
   */
  private Long id;


  /**
   * 菜单名称
   */
  private String resourceName;

  /**
   * 前端唯一码
   */
  private String resourceCode;


  /**
   * 前端菜单路径
   */
  private String resourceUrl;

  /**
   * 图片路径
   */
  private String classIcon;

  /**
   * 资源级别
   */
  private Integer resourceLevel;

  /**
   * 菜单排序
   */
  private Integer resourceSort;

  /**
   * 一级菜单路由重定向路径地址
   */
  private String redirectUri;


  /**
   * 子菜单
   */
  private List<SysResourceMenuRespDto> childResource;
}
